home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 2 / MacMania 2.toast / Demo's / Tools&Utilities / HyperCard / CambridgeMedlineTutor / ccMedTut1 / card_33182.txt < prev    next >
Encoding:
Text File  |  1993-04-19  |  1.9 KB  |  102 lines

  1. -- card: 33182 from stack: in
  2. -- bmap block id: 33525
  3. -- flags: 0000
  4. -- background id: 11419
  5. -- name: 
  6. ----- HyperTalk script -----
  7. --Hidden field - card field id 5
  8.  
  9. On OpenCard
  10.   put empty into card field id 1
  11. End OpenCard
  12.  
  13. on ReturnKey
  14.   set the UserLevel to 2
  15.   click at 19,102
  16.   type "a"
  17.   wait 30
  18.   type "s"
  19.   wait 30
  20.   type "p"
  21.   wait 30
  22.   type "i"
  23.   wait 30
  24.   type "r"
  25.   wait 30
  26.   type "i"
  27.   wait 30
  28.   type "n"
  29.   click at 400,400
  30.   global x
  31.   lock screen
  32.   go card id 51608
  33.   hide card field "red"
  34.   unlock screen
  35.   wait x
  36.   lock screen
  37.   show card field "red"
  38.   unlock screen with dissolve
  39. end ReturnKey
  40.  
  41.  
  42.  
  43. -- part 1 (field)
  44. -- low flags: 00
  45. -- high flags: 0000
  46. -- rect: left=17 top=92 right=108 bottom=298
  47. -- title width / last selected line: 0
  48. -- icon id / first selected line: 0 / 0
  49. -- text alignment: 0
  50. -- font id: 3
  51. -- text size: 12
  52. -- style flags: 0
  53. -- line height: 16
  54. -- part name: 
  55. ----- HyperTalk script -----
  56. if the Optionkey is down then go next card
  57.  
  58.  
  59. -- part 5 (field)
  60. -- low flags: 00
  61. -- high flags: 2004
  62. -- rect: left=33 top=149 right=214 bottom=476
  63. -- title width / last selected line: 0
  64. -- icon id / first selected line: 0 / 0
  65. -- text alignment: 0
  66. -- font id: 3
  67. -- text size: 12
  68. -- style flags: 0
  69. -- line height: 18
  70. -- part name: red
  71.  
  72.  
  73. -- part 7 (field)
  74. -- low flags: 00
  75. -- high flags: 0000
  76. -- rect: left=146 top=270 right=288 bottom=209
  77. -- title width / last selected line: 0
  78. -- icon id / first selected line: 0 / 0
  79. -- text alignment: 0
  80. -- font id: 0
  81. -- text size: 12
  82. -- style flags: 2048
  83. -- line height: 16
  84. -- part name: 
  85.  
  86.  
  87. -- part contents for card part 5
  88. ----- text -----
  89.    Our first search will be on ASPIRIN. When you do an actual search, you'll type your search term in the box, at the flashing cursor. Hit RETURN and the term will be typed in automatically here.
  90.    
  91.  
  92. -- part contents for card part 7
  93. ----- text -----
  94. Search
  95.  
  96. -- part contents for background part 3
  97. ----- text -----
  98. Search Menu
  99.  
  100. -- part contents for card part 1
  101. ----- text -----
  102. aspirin